package com.crm.model.qo.activityManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * 活动新增
 * @author luojie
 * @date 2021/2/23 15:54
 */
@Data
public class CustomerActivityAddQO {

    //活动id
    private String productActivityId;

    //活动名称
    private String productActivityName;

    //活动价格区间起始价
    private BigDecimal activityPriceRangeStart;

    //活动价格区间截止价
    private BigDecimal activityPriceRangeEnd;

    //有效期起始日期
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
    private Date activityPeriodValidityStart;

    //有效期截止日期
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
    private Date activityPeriodValidityEnd;

    //活动价
    private BigDecimal activityPrice;

    //兑换方式
    private String exchangeMethod;

    //产品idList
    private List<HashMap> productList;
}
